package com.eshop.modules.template.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.template.service.dto.ShippingTemplatesFreeDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.template.service.dto.ShippingTemplatesFreeQueryCriteria;
import com.eshop.modules.template.domain.ShippingTemplatesFree;
import com.eshop.common.service.BaseService;

public interface ShippingTemplatesFreeService extends BaseService<ShippingTemplatesFree>
{
    Map<String, Object> queryAll(final ShippingTemplatesFreeQueryCriteria criteria, final Pageable pageable);
    
    List<ShippingTemplatesFree> queryAll(final ShippingTemplatesFreeQueryCriteria criteria);
    
    void download(final List<ShippingTemplatesFreeDto> all, final HttpServletResponse response) throws IOException;
}
